<?php 
defined('IN_SITE') or exit('Access Denied');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8>" />
<title><?=$SETTING[sitename]?> 网站管理系统后台登录</title>
<link rel="stylesheet" href="modules/member/templates/images/login.css"/>
<script language="javascript" src="misc/config.js"></script>
<script language="javascript" src="misc/jquery.min.js"></script>
<script language="javascript" src="misc/common.js"></script>
<script text='text/javascript'>
if (top.location != self.location)
{
	top.location=self.location;
}
</script> 
</head>
<body onload="javascript:document.myform.username.focus();">
<div id="main">
  <div id="login_box">
    <ul>
    <form name="myform" method="post" action="./admin.php?module=member&action=login" onsubmit="return loginCheck(this);">
      <li>用户名：<input name="username" type="text" size="20" value="<?=$username?>" maxlength="20"></li>
	  <li>密　码：<input name="password" type="password" size="20" value="<?=$password?>" maxlength="32"></li>
<?php if($code->check()){?>
      <li>验证码：<?=form::checkcode('checkcodestr', 8)?></li>
<?php } ?>
      <li style=" padding-left:48px;">
	    <input type="hidden" name="cookietime" value="0" />
	    <input type="hidden" name="forward" value="?">
	    <input type="submit" name="dosubmit" value=" 登录 " class="btn_login"> 
	    <input type="reset" name="reset" value=" 清除 " class="btn_cancel">
      </li>
    </form>
    </ul>
  </div>
</div>
</body>
</html>